﻿@*
    For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Demo</title>
    <!-- 请勿在项目正式环境中引用该 layui.css 地址 -->
    <link href="//unpkg.com/layui@2.11.2/dist/css/layui.css" rel="stylesheet">
</head>
<body>
    <h1 align="center" style="margin-top: 50px;">入职申请</h1>
    <form class="layui-form" action="">
        <div class="layui-form-item">
            <label class="layui-form-label">人员名称</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verify="required" placeholder="请输入人员名称" autocomplete="off" class="layui-input">
            </div>
        </div>



        <div class="layui-form-item">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verify="required" placeholder="请输入联系电话" autocomplete="off" class="layui-input">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">性别</label>
            <div class="layui-input-block">
                <input type="radio" name="sex" value="1" title="男" checked>
                <input type="radio" name="sex" value="0" title="女">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">定位</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verify="required" placeholder="请输入定位" autocomplete="off" class="layui-input">
            </div>
        </div>



        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">面试反馈</label>
            <div class="layui-input-block">
                <textarea placeholder="请输入内容" class="layui-textarea" lay-verify="required" autocomplete="off"></textarea>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">联系电话</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verify="required" placeholder="请输入联系电话" autocomplete="off" class="layui-input">
            </div>
        </div>



        <div class="layui-form-item">
            <label class="layui-form-label">面试结果</label>
            <div class="layui-input-block">
                <select name="result" lay-verify="required">
                    <option value="">请选择</option>
                    <option value="1">通过</option>
                    <option value="0">不通过</option>
                </select>
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">面试次数</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verify="required" placeholder="请输入面试次数" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">面试日期</label>
            <div class="layui-input-block">
                <input type="text" name="date" id="date" lay-verify="required|date" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">面试官</label>
            <div class="layui-input-block">
                <input type="text" name="username" lay-verify="required" placeholder="请输入面试官" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">提交</button>
                <button type="button" class="layui-btn layui-btn-primary" onclick="window.history.back()">取消</button>
            </div>
        </div>
    </form>
    <script src="//unpkg.com/layui@2.11.2/dist/layui.js"></script>
    <script>
        layui.use('sex', function(){
          var sex = layui.sex;
        });

        layui.use('laydate', function(){
          var laydate = layui.laydate;
          laydate.render({
            elem: '#date'
          });
        });
    </script>
</body>
</html>
